#-----------------------------------------------------------------------------------------------------------------------
# Justfile
#
# https://just.systems/man/en/
# https://github.com/casey/just
#-----------------------------------------------------------------------------------------------------------------------

run:
  cargo run

watch:
  cargo watch -c -w src -x run

build:
  cargo build

test:
  cargo test

fmt:
  cargo +nightly fmt --all

lint:
  cargo clippy --all --all-targets -- --deny warnings
  cargo +nightly fmt --all -- --check

prepare:
  rustup toolchain install nightly